# -*- coding: utf-8 -*-
# 2022/4/27 13:30
# Author :jiangdeping
import time

def test_one():
    s=["a","b","c"]

    print(s[-1])
    print(s[len(s)-1])
    for i in range(len(s)):
        print(i,s[i])




import time
#带有固定参数的装饰器
def deco(f):
    def wrapper():
        print("start")
        start_time = time.time()
        f()
        end_time = time.time()
        execution_time = (end_time - start_time)*1000
        print("end")
        print("time is %d ms" %execution_time )
    return wrapper

def test_dict():
    ones="个人事务"
    twos1="我的任务"
    twos2="他的任务"
    twos1value=["代办任务","已办任务"]
    dict={}
    dict2={}
    dict3={}
    dict3[twos1]=twos1value
    dict2[ones]={twos1,twos2}
    print(dict2)
    print(dict3)

def test_aaa():
    s="总数:23519"
    y=s.split(':')
    print(y[1])

